package com.aijk.ehm.dao.mybatis;


import com.aijk.ehm.model.EhmPeopleCrowd;
import com.aijk.ehm.model.EhmPeopleCrowdExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EhmPeopleCrowdMapper {
    int countByExample(EhmPeopleCrowdExample example);

    int deleteByExample(EhmPeopleCrowdExample example);

    int deleteByPrimaryKey(Long id);

    int insert(EhmPeopleCrowd record);

    int insertSelective(EhmPeopleCrowd record);

    List<EhmPeopleCrowd> selectByExample(EhmPeopleCrowdExample example);

    EhmPeopleCrowd selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") EhmPeopleCrowd record, @Param("example") EhmPeopleCrowdExample example);

    int updateByExample(@Param("record") EhmPeopleCrowd record, @Param("example") EhmPeopleCrowdExample example);

    int updateByPrimaryKeySelective(EhmPeopleCrowd record);

    int updateByPrimaryKey(EhmPeopleCrowd record);
}